package com.red.star.wechat.data.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Table;
import java.util.Date;

/**
 * @ProjectName: macalline-work-server
 * @Package: com.red.star.macalline.data.entity
 * @Description: 图片编辑器扫码、报名日志
 * @Author: AMGuo
 * @CreateDate: 2018/8/29 上午11:40
 * @Version: 1.0
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Table(name = "lg_scan_image_view")
public class LgScanImageView {

    private Long id;

    private Date createTime;

    /**
     * 记录时间
     */
    private Date statDate;

    /**
     * 内容
     */
    private String content;

    private Integer imageViewId;

    private Integer uv;

    private Integer formUv;

    private Integer scanUv;

    private Integer totalFormUv;

    private Integer pv;

    private Integer totalScanUv;

    private Integer totalUv;

    private Integer scanPv;

    private Integer totalGetTicketUv;

    private Integer getTicketUv;

    public LgScanImageView(Date createTime, Date statDate, String content, Integer imageViewId, Integer uv, Integer formUv, Integer scanUv, Integer totalFormUv, Integer pv, Integer totalScanUv, Integer totalUv, Integer scanPv, Integer totalGetTicketUv, Integer getTicketUv) {
        this.createTime = createTime;
        this.statDate = statDate;
        this.content = content;
        this.imageViewId = imageViewId;
        this.uv = uv;
        this.formUv = formUv;
        this.scanUv = scanUv;
        this.totalFormUv = totalFormUv;
        this.pv = pv;
        this.totalScanUv = totalScanUv;
        this.totalUv = totalUv;
        this.scanPv = scanPv;
        this.totalGetTicketUv = totalGetTicketUv;
        this.getTicketUv = getTicketUv;
    }

    public LgScanImageView(Date createTime, Date statDate, String content, Integer imageViewId) {
        this.createTime = createTime;
        this.statDate = statDate;
        this.content = content;
        this.imageViewId = imageViewId;
    }
}
